Where is the "response" variable declared? Looks like this code isn't covered by tests.