test for zlib errors