Tests: ignore details when testing error responses

Also remove a redundant test that was not testing what its name
indicated.