[c] binary search tree test cases for finding min/max node