Fix MetaClassRegistryTest