Fix search tests.