Added test for empty body.
Testing of request using non-allowed HTTP methods.