Add RegistryClient unit-tests

 - Add some comments