Update client_test.go
Revert "Update client_test.go"

This reverts commit 794a6633eb46439d995bbb615f9718e7264d8c35.
expose status code and fix test
Merge pull request #1 from rsquirrel/master

Fix test and expose status code