code: def test_tokens(self, processed_doc):
      assert (
          "\n\n".join(
              [sent.tokens_string() for sent in processed_doc.sentences]
          )
          == EN_DOC_TOKENS_GOLD
      )
  
imports: import pytest
  import stanza
  from stanza.utils.conll import CoNLL
  from stanza.models.common.doc import Document
  from stanza.tests import *
  from stanza.tests.pipeline.pipeline_device_tests import check_on_gpu, check_on_cpu
label_desc: Use image node_id 5 for calling the TestEnglishPipeline obj's underlying member method code with example usage: obj.test_tokens(processed_doc) without return types