updated test and searcher to not search when empty string is provdided