head = mk.commit("/:root/head/config", "^ \"nodeVersion\": true", head, "");
head = mk.commit("/", "+ \"test1\": { \"id\": 1 }", head, "");
head = mk.commit("/", "+ \"test2\": { \"id\": 1 }", head, "");
NodeImpl n = NodeImpl.parse(mk.getNodes("/", head));
String vra = n.getNodeVersion();
String v1a = n.getNode("test1").getNodeVersion();
String v2a = n.getNode("test2").getNodeVersion();
// changes the node version
head = mk.commit("/", "^ \"test2/id\": 2", head, "");
n = NodeImpl.parse(mk.getNodes("/", head));
String vrb = n.getNodeVersion();
String v1b = n.getNode("test1").getNodeVersion();
String v2b = n.getNode("test2").getNodeVersion();
assertFalse(vra.equals(vrb));
assertEquals(v1a, v1b);
assertFalse(v2a.equals(v2b));
}