fixing search tests