Session s2 = null;
String collidingPath = null;
try {
// create a colliding node outside of the user tree
NameResolver nr = (SessionImpl) s;
// NOTE: testRootNode will not be present if users are stored in a distinct wsp.
// therefore use root node as start...
NodeImpl tr = (NodeImpl) s.getRootNode();
Node n = tr.addNode(nr.getQName("tmpNode"), nr.getQName(testNodeType), nid);
collidingPath = n.getPath();
s.save();
// force recreation of admin user.
s2 = getHelper().getSuperuserSession();