Tested contains method for BST