added Client.java unit test
Merge pull request #5 from joshgit/master

junit test added for Client.java