Fix bad response, add test.