refactor(tests) : move search tests to functional approach for search queries
refactor(tests) : move search tests to functional approach for search queries

FlexSearch/FlexSearch,FlexSearch/FlexSearch,FlexSearch/FlexSearch,FlexSearch/FlexSearch