Added tests for nodes