@Test (timeout = 30000)
public void testToFile() throws Exception {

  PathData item = new PathData(".", conf);
  assertEquals(new File(testDir.toString()), item.toFile());
  item = new PathData("d1/f1", conf);
  assertEquals(new File(testDir + "/d1/f1"), item.toFile());
  item = new PathData(testDir + "/d1/f1", conf);
  assertEquals(new File(testDir + "/d1/f1"), item.toFile());
}