@Before
public void before() throws Exception {
super.before();
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);