fix remove tar test cases