Add tests for BinaryTree structure.