Added testing code for NodeManipulator