Add scripted test for tar.gz generation