since this file is using zlib rather than gzip, it might make sense to change the tests to reflect that, and if necessary, provide a separate test case which uses actual gzip compression.

Just given the name of the test case, it seems like the encoding matters