clean up imports in tests
Mock the MongoConnection for modulestore tests