Can we replace this if statement with just doing a `assert.ok(!receivedResponse)`?