Updated with test cases related to TarUtil