fixed registrar client issues for unit tests
updates in class