Added RegistryImpl tests