added further tests for NodeFactory