Fixed tests for Python 3 support

* Subclass `SimpleTestCase` to use `assertContains` which handles `bytes`/`str` comparisons ([docs](https://docs.djangoproject.com/en/dev/topics/python3/#httprequest-and-httpresponse-objects))
* Fixed `signed_request` generation and changed app secret back to `str`.