code: def test_tokenizer_string():
      from flash.core.serve.types import Text
  
      text = Text(tokenizer="prajjwal1/bert-tiny")
      assert "some string" in text.serialize(
          text.deserialize("some string")
      )
  
file_path: lightning-flash/tests/core/serve/test_types/test_text.py
imports: from dataclasses import dataclass
  import pytest
  import torch
  from flash.core.utilities.imports import _TOPIC_SERVE_AVAILABLE
label_desc: Use image node_id 2 for calling a global function with example usage: test_tokenizer_string() without return types