Merge "Improve logging in MediaWikiTestCase"