add specs for gzip middleware