improve search tests