added test for get_synonyms