code: def get_packages_with_tests(pkg_list):
      new_pkg_list = []
      for package in pkg_list:
          new_pkg_list.append(package)
  
          path = os.path.abspath("./" + package.replace(".", "/"))
          if os.path.isdir(jp(path, "tests")):
              new_pkg_list.append(package + ".tests")
          if os.path.isdir(jp(path, "tests", "utils")):
              new_pkg_list.append(package + ".tests.utils")
      return new_pkg_list
  
label_desc: Use image node_id 1 for calling a global function with example usage: get_packages_with_tests(pkg_list) and returns: new_pkg_list