modified expectedStatus assertion