Add test case for search.