code: def test_model(model, train_params, **kwargs):
      assert isinstance(model, domain_adapter.BaseAdaptTrainer)
      # training process
      trainer = pl.Trainer(
          default_root_dir="tests/outputs",
          min_epochs=train_params["nb_init_epochs"],
          max_epochs=train_params["nb_adapt_epochs"],
          devices=1,
          **kwargs,
      )
      trainer.fit(model)
      trainer.test()
      metric_values = trainer.callback_metrics
      assert isinstance(metric_values, dict)
  
label_desc: Use image node_id 1 for calling the ModelTestHelper obj's underlying member method code with example usage: obj.test_model(model, train_params) without return types