Tidy some tests

Use PHPUnit_Framework_TestCase instead
Merge pull request #222 from SemanticMediaWiki/tidy

Tidy some tests