We should test response.raise_for_status

See http://www.python-requests.org/en/latest/api/#requests.Response.raise_for_status