fix smart search tests