add tests for binary search tree