code: def test_split_text_to_chunks(self):
      long_text = "A" * 10000
      chunks = split_text_to_chunks(long_text, max_tokens=1000)
      assert all(count_token(chunk) <= 1000 for chunk in chunks)
  
file_path: autogen/test/test_retrieve_utils.py
imports: import pytest
  import os
label_desc: Use image node_id 1 for calling the TestRetrieveUtils obj's underlying member method code with example usage: obj.test_split_text_to_chunks() without return types