Add a testcase that checks if the TarFile constructor successfully