code: def test_convert_tokens_to_text():
      tokens = [
          Token(text, 0, {})
          for text in [
              "<|endoftext|>",
              "bytes:\\xe2\\x80",
              "bytes:\\x99",
              "Hello",
              " world",
              "bytes:\\xe2\\x80",
              "bytes:\\x99",
              "<|endoftext|>",
          ]
      ]
  
      groups = convert_tokens_to_text(tokens)
      assert (
          "".join([group["text"] for group in groups])
          == "<|endoftext|>’Hello world’<|endoftext|>"
      )
  
imports: from helm.common.request import Token
  from .basic_metrics import get_num_bytes, convert_tokens_to_text
label_desc: Use image node_id 2 for calling a global function with example usage: test_convert_tokens_to_text() without return types