Add postBody and setRequestBody functions to POST some data in a test.

Thanks!