add tests for zlib compression