Add tests for bad responses