The requests that send a body should define at least a `data` member. Added a simple test that checks that bad requests are rejected. This test should be expanded to check that the returned error body contains the correct members.