@Test (timeout = 30000)
public void testUntar() throws IOException {

  String tarGzFileName = System.getProperty("test.cache.data",
      "target/test/cache") + "/test-untar.tgz";
  String tarFileName = System.getProperty("test.cache.data",
      "build/test/cache") + "/test-untar.tar";
  File dataDir = GenericTestUtils.getTestDir();
  File untarDir = new File(dataDir, "untarDir");
  doUntarAndVerify(new File(tarGzFileName), untarDir);
  doUntarAndVerify(new File(tarFileName), untarDir);
}