added the test for views.error.bad_request