Fixed references to functions that are now part of the BinaryTree class, and removed unneeded test