fix create message

create message returns 201 instead of 200

* fixed spec helper to allow for custom response code
* fixed spec
* client request method checks for any success code

fixes #1 and #2