assertHttpAccepted produces better error message