Fix search tests