builder = ns.getRoot().builder();
builder.child("test").setProperty("prop", "value");
ns.merge(builder, EmptyHook.INSTANCE, CommitInfo.EMPTY);
Revision rev = ns.getHeadRevision();
NodeDocument doc = docStore.find(Collection.NODES, Utils.getIdFromPath("/test"));
assertNotNull(doc);
DocumentNodeState state = doc.getNodeAtRevision(ns, rev, null);
assertNotNull(state);
assertTrue(state.hasProperty("prop"));
assertEquals("value", state.getProperty("prop").getValue(Type.STRING));