Fixed bug in RegistryManagerImplTest