updated test cases for bst