More tests and do not send body if the response has an error