test case for tgz functionality