Proper tests for Client class