code: def test_classify_text():
      expected_result = [
          TokenClassificationResult(
              word="Geoffrey",
              score=0.9988969564437866,
              entity="B-PER",
              index=4,
              start=11,
              end=19,
          ),
          TokenClassificationResult(
              word="Toronto",
              score=0.9993201494216919,
              entity="B-LOC",
              index=9,
              start=34,
              end=41,
          ),
      ]
  
      result = happy_toc.classify_token(
          "My name is Geoffrey and I live in Toronto"
      )
      assert result == expected_result
  
imports: from happytransformer import HappyTokenClassification
  from happytransformer.happy_token_classification import TokenClassificationResult
  from tests import happy_toc
label_desc: Use image node_id 1 for calling a global function with example usage: test_classify_text() without return types