version.getName(), "testLabel", false);
// 3) do restore by label
UserTransaction utx = new UserTransactionImpl(session);
utx.begin();
vm.restoreByLabel(node.getPath(), "testLabel", true);
utx.commit();
// 4) try to get the grandchild (fails if the restoring has
// been done within a transaction)
assertTrue(node.hasNode("child/grandchild"));