added Client.java unit test