code: def test_move_load_combiner_plan():
      fs = hl.current_backend().fs
      sample_names = all_samples[:5]
      paths = [
          os.path.join(
              resource("gvcfs"), "1kg_chr22", f"{s}.hg38.g.vcf.gz"
          )
          for s in sample_names
      ]
      plan_path = new_temp_file(extension="json")
      out_file = new_temp_file(extension="vds")
      new_plan_path = new_temp_file(extension="json")
      plan = new_combiner(
          gvcf_paths=paths,
          output_path=out_file,
          temp_path=Env.hc()._tmpdir,
          save_path=plan_path,
          reference_genome="GRCh38",
          use_exome_default_intervals=True,
          branch_factor=2,
          batch_size=2,
      )
      plan.save()
      fs.copy(plan_path, new_plan_path)
      plan_loaded = load_combiner(new_plan_path)
      assert plan != plan_loaded
      plan._save_path = new_plan_path
      assert plan == plan_loaded
  
file_path: hail/hail/python/test/hail/vds/test_combiner.py
imports: import os
  import pytest
  import hail
  from hail.utils.java import Env
  from hail.utils.misc import new_temp_file
  from hail.vds.combiner import combine_variant_datasets, new_combiner, load_combiner, transform_gvcf
  from hail.vds.combiner.combine import defined_entry_fields
  from ..helpers import resource, skip_when_service_backend, test_timeout, qobtest
label_desc: Use image node_id 4 for calling a global function with example usage: test_move_load_combiner_plan() without return types