unit testing BST