Added helper methods to ExtensionTestCase