Fix JZlibEncoder/Decoder and their test