Intelligent search. DB tests/configuration fix