rightBuilder.setProperty("bar", "foo");
NodeState rightState = rightBuilder.getNodeState();
NodeStoreBranch rightBranch = right.branch();
rightBranch.setRoot(rightState);
rightBranch.merge(EmptyHook.INSTANCE);
store.getJournal("right").merge();
NodeState newState = root.getRoot();
assertEquals("bar", newState.getProperty("foo").getValue(Type.STRING));
assertEquals("foo", newState.getProperty("bar").getValue(Type.STRING));