Do not set HTTPResponse._error_format = 'text/plain' in the tests.
Removed some ancient test hacks that seemingly are not needed anymore.