refactored BSTTest class