new test cases added to the file client_spec.rb.