Update bin tree test to deal with generalized bst