When sending test request with expected status code and getting response with invalid content type (eg. header says application/json, but server sends xml/html), the Test.prototype._assertStatus fails while getting status from res (which is undefined).
When sending test request with expected status code and getting response with invalid content type (eg. header says application/json, but server sends xml/html), the
Test.prototype._assertStatusfails while getting status from res (which is undefined).