testLocked

Tests if Node.removeMixin(String mixinName) throws a
LockException if Node is locked.

The test creates a node nodeName1 of type
testNodeType under testRoot, adds a mixin and
then locks the node with the superuser session. Then the test tries to
remove the before added mixin readWrite Session.