Fix tests for PHPUnit 4.6
Merge pull request #688 from SemanticMediaWiki/phpunit

Fix tests for PHPUnit 4.6