code: def test_model_version():
      model_with_version = Model.create(
          "testmodel:myversion",
          module="test",
          api_version="v1",
          signatures={},
          context=TEST_MODEL_CONTEXT,
      )
  
      assert model_with_version.info.version == "myversion"
  
imports: from __future__ import annotations
  import os
  from datetime import datetime
  from datetime import timezone
  from sys import version_info
  from typing import TYPE_CHECKING
  import attr
  import fs
  import fs.errors
  import numpy
  import pytest
  from bentoml import Tag
  from bentoml._internal.configuration import BENTOML_VERSION
  from bentoml._internal.models import ModelOptions
  from bentoml._internal.models.model import Model
  from bentoml._internal.models.model import ModelInfo
  from bentoml._internal.models.model import ModelStore
  from bentoml.exceptions import BentoMLException
  from bentoml.testing.pytest import TEST_MODEL_CONTEXT
label_desc: Use image node_id 3 for calling a global function with example usage: test_model_version() without return types