class_docstr: Kaldi dir meta data IO test
docstr: test dump and load data 
code: def test_dump_and_load(self):
      """test dump and load data"""
      temp_dir = self.get_temp_dir()
      num_spk = 5
      num_utt_per_spk = 3
      meta = gen_dummy_meta(num_spk, num_utt_per_spk)
      meta.dump(temp_dir, True)
      with open(os.path.join(temp_dir, "feats.scp"), "r") as fp_in:
          logging.info("feats.scp:\n%s" % (fp_in.read()))
      loaded_meta = kaldi_dir.KaldiMetaData()
      loaded_meta.load(temp_dir)
      self.assertEqual(len(meta.utts), len(loaded_meta.utts))
      for utt_key in meta.utts.keys():
          self.assertIn(utt_key, loaded_meta.utts)
      self.assertEqual(len(meta.spks), len(loaded_meta.spks))
      for spk_key in meta.spks.keys():
          self.assertIn(spk_key, loaded_meta.spks)
  
file_path: delta/delta/utils/kaldi/kaldi_dir_test.py
imports: import os
  from absl import logging
  import delta.compat
  from delta.utils.kaldi import kaldi_dir
  from delta.utils.kaldi.kaldi_dir_utils import gen_dummy_meta
label_desc: Use image node_id 5 for calling the KaldiDirTest obj's underlying member method code with example usage: obj.test_dump_and_load() without return types