added compress options for gzip

added test for compress options of gzip

update changelog
Merge pull request #7730 from beyond/gzip

added compress options for gzip