added a few unit tests
added unit tests for gzip logic