added test_error_json/test_error_unhandled
converting DummyRequest.data to a string, adding uri
fixing imports
removing unreachable code
finishing up resource resource tests