added more exceptions
changed default status code to 400
changed to SimpleTestCase for performance