test_response: ensure response body is closed