BinaryTree and Tests