add test for truncated gzip file