add tests for GzipCompressor.