This PR fixes broken assertions in tests.

This PR also restores the HTTP response body assertion that seems to have been dropped in 5873dddc1c9ff41a27eae9ea48f6bf681b859e7e accidentally.

Comment From: snicoll

Good catch. Thanks very much @izeye!