Tree y = tree.getChild("y");
Tree x = tree.getChild("x");
assertTrue(x.exists());
assertFalse(root.hasPendingChanges());
root.move("/x", "/y/xx");
assertTrue(root.hasPendingChanges());
assertFalse(tree.hasChild("x"));
assertTrue(y.hasChild("xx"));
assertEquals("/y/xx", x.getPath());