code: def test_model_helpers():
      path = os.path.dirname(__file__)
      file = os.path.join(path, "static/saved_model.pth")
  
      model = get_model()
  
      model.save(file)
      model = Model.load(file, ["test1", "test2", "test3"])
  
      assert model._model is not None
      assert model.get_internal_model() is model._model
  
      os.remove(file)
  
file_path: detecto/detecto/tests/test_core.py
imports: import torch
  from detecto.core import *
  from detecto.utils import read_image
  from .helpers import get_dataset, get_image, get_model, empty_predictor
  from torchvision import transforms
  from torchvision.models.detection.faster_rcnn import FastRCNNPredictor
label_desc: Use image node_id 7 for calling a global function with example usage: test_model_helpers() without return types