Add test cases for search service