registerNamespace(TestNameMapper.TEST_PREFIX, TestNameMapper.TEST_URI);
nameMapper = new TestNameMapper(Namespaces.getNamespaceMap(root.getTree("/")));
npMapper = new NamePathMapperImpl(nameMapper);
acMgr = getAccessControlManager(npMapper);
valueFactory = new ValueFactoryImpl(root.getBlobFactory(), npMapper);
NodeUtil rootNode = new NodeUtil(root.getTree("/"), npMapper);
rootNode.addChild(testName, JcrConstants.NT_UNSTRUCTURED);
root.commit();