improve test for gzip and progress events