fix search tests