Testing 400 error response on bad requests