"added some test cases for search_function"