[CB-1517] [CB-1518] Add spec test for gzip-encoded resources