MDL-40555 cache: implemented unit tests for default search functionality