n2.addMixin(mixReferenceable);
testRootNode.getSession().save();
// remove mix:referenceable, jcr:uuid should always get removed
// since it is a protcted property
n2.removeMixin(mixReferenceable);
testRootNode.getSession().save();
assertFalse(n2.hasProperty("jcr:uuid"));
}