Add unit test for extraction of gzip files

This succeeds on a good file but fails to fail on a corrupt file.