Add test for search.