Fix body parameters

This fixes a few bugs I came across with the module:

1. In POST and PUT requests the body was being set to query params format instead of a JSON string.
2. In the Mocha test the getUser() test was always failing because it was happening before the createUser() test. I reordered it so it doesn't fail.