Enabling test assertions to debug erroneous response body