Added tests for Node class