code: def test_add_synonym():
      synonym_name = "savings"
      synonym_examples = ["pink pig", "savings account"]
      expected_result = {
          "pink pig": synonym_name,
          "savings account": synonym_name,
      }
  
      result = {}
  
      for example in synonym_examples:
          synonyms_parser.add_synonym(example, synonym_name, result)
  
      assert result == expected_result
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_add_synonym() without return types