Node lockedNode2 = testRoot2.addNode(nodeName2, testNodeType);
lockedNode2.addMixin(mixLockable);
testRoot2.save();
Lock lock2 = lockedNode2.lock(false, isSessionScoped());
// force reloading of the testroot in order to be aware of the
// locked node added by another session
testRootNode.refresh(false);
Node n2 = (Node) superuser.getItem(lockedNode2.getPath());