I get the following when I run the tests:
AttributeError: 'HttpResponse' object has no attribute 'decode'