Improve PHPUnit_Framework_ExtensionTestCase test case