code: def test_loading_detector_with_plain_data(tmp_path):
      data = np.array(
          [
              [42, 1, 1234077000],
              [42, 2, 1234088000],
              [42, 3, 1234099000],
          ]
      )
      p_val = 0.42
  
      create_and_save_detector(data, p_val, tmp_path)
  
      loaded_detector = load_detector(tmp_path)
  
      assert loaded_detector.get_config()["name"] == "TabularDrift"
      assert loaded_detector.get_config()["p_val"] == p_val
      np.testing.assert_array_equal(
          loaded_detector.get_config()["x_ref"], data
      )
  
imports: import numpy
  import pytest
  from alibi_detect.cd import TabularDrift
  from alibi_detect.saving import save_detector, load_detector
label_desc: Use image node_id 1 for calling a global function with example usage: test_loading_detector_with_plain_data(tmp_path) without return types