Use ModuleStoreTestCase for tests using factories