test generateSuggestions