Add tests for TreeNode.compare_tip_distances