Finally fixed failing test - sending 'Accept-Encoding' header was problematic.