Add tests for Node class