added more test cases for search