Made verifyResponse uniform across unit tests.