@Test
public void testExists() throws IOException {

  System.out.println("pre-create test path");
  fs.mkdirs(new Path("test/registryTestNode"));
  System.out.println("Check for existing node");
  boolean exists = registry.exists("test/registryTestNode");
  Assert.assertTrue(exists);
  System.out.println("Check for  non-existing node");
  exists = registry.exists("test/nonExistentNode");
  Assert.assertFalse(exists);
}