code: def test_ssurgeon_become_mwt():
      """
      Test that converting a document, adding a new MWT, works as expected
      """
      semgrex_pattern = "{word:It}=it . {word:/'s/}=s"
      ssurgeon_edits = [
          "EditNode -node it -is_mwt true  -is_first_mwt true  -mwt_text It's",
          "EditNode -node s  -is_mwt true  -is_first_mwt false -mwt_text It's",
      ]
  
      doc = CoNLL.conll2doc(input_str=BECOME_MWT_DOC_INPUT)
  
      ssurgeon_response = ssurgeon.process_doc_one_operation(
          doc, semgrex_pattern, ssurgeon_edits
      )
      updated_doc = ssurgeon.convert_response_to_doc(
          doc, ssurgeon_response
      )
  
      result = "{:C}".format(updated_doc)
      compare_ignoring_whitespace(result, BECOME_MWT_DOC_EXPECTED)
  
file_path: stanza/stanza/tests/server/test_ssurgeon.py
imports: import pytest
  from stanza.tests import compare_ignoring_whitespace
  from stanza.utils.conll import CoNLL
  import stanza.server.ssurgeon
label_desc: Use image node_id 3 for calling a global function with example usage: test_ssurgeon_become_mwt() without return types