changed the expected status code and message for DELETE requests