code: def test_to_proto_with_invalid_field(self):
      owner = model_card.Owner()
      owner.wrong_field = "wrong"
      with self.assertRaisesRegex(
          ValueError, 'has no such field named "wrong_field".'
      ):
          owner.to_proto()
  
imports: import json
  import os
  import pkgutil
  import jsonschema
  from absl.testing import absltest
  from google.protobuf import text_format
  from model_card_toolkit import model_card
  from model_card_toolkit.proto import model_card_pb2
label_desc: Use image node_id 9 for calling the ModelCardTest obj's underlying member method code with example usage: obj.test_to_proto_with_invalid_field() without return types