code: def test_ESPnetDataset_text_int(text_int):
      dataset = ESPnetDataset(
          path_name_type_list=[(text_int, "data8", "text_int")],
          preprocess=preprocess,
      )
  
      _, data = dataset["a"]
      assert tuple(data["data8"]) == (0, 1, 2)
  
      _, data = dataset["b"]
      assert tuple(data["data8"]) == (2, 3, 4)
  
imports: import h5py
  import kaldiio
  import numpy
  import pytest
  from espnet2.fileio.npy_scp import NpyScpWriter
  from espnet2.fileio.sound_scp import SoundScpWriter
  from espnet2.train.dataset import ESPnetDataset
label_desc: Use image node_id 18 for calling a global function with example usage: test_ESPnetDataset_text_int(text_int) without return types