Use ModuleStoreTestCase for tests that use CourseFactory