adding client.rb tests
full client.rb testing