Made test more robust. Sometimes there is no HTTP body returned.