complete test coverage for Client class