Test implementation of search functionality.