Test for the search feature