Add feature to node
Add test for leaf? function