code: def make_test_metadata(path):
      """
      Use test_common to make a dataset for the TestSchema.
  
      :param path: path to store the test dataset
      :return: resulting dataset as a dictionary
      """
      assert (
          path
      ), "Please supply a nonempty path to store test dataset."
      return create_test_dataset(
          "file://{}".format(path), range(ROWS_COUNT)
      )
  
imports: from __future__ import print_function
  import getopt
  import sys
  from petastorm.tests.test_common import create_test_dataset
label_desc: Use image node_id 2 for calling a global function with example usage: make_test_metadata(path) and returns: create_test_dataset