test binary tree.