Extend the test in a way to cover error responses.