Fix deflate and zlib tests.