Added tests for search tree.