add and test ClientRepository