add bst test code and test data