Registry registry() method should now be called statically
Added RegistryTest