tests for gzip and snappy compression