assertRequest test helper