Revert "Move test request functions into appropriate TestCase class"
Breaks integration tests

This reverts commit 3b0e788fe7d970f35c7fae837fd8a9f01f8733a1.

Conflicts:
	tests/test_views.py
Update tests to use http error codes
Remove extraneous try/catch, require_result
Merge pull request #153 from rcchan/master

Update tests to use http error codes