Simplify test_app() settings.
Manually test response status code.