Added tests for node.py