Fix test case to not use context for gzip file