code: def test_load_from_file(self):
      filename = (
          self.FIXTURES_ROOT / "simple_tagger" / "experiment.json"
      )
      params = Params.from_file(filename)
  
      assert "dataset_reader" in params
      assert "trainer" in params
  
      model_params = params.pop("model")
      assert model_params.pop("type") == "simple_tagger"
  
imports: import json
  import os
  import re
  from collections import OrderedDict
  import pytest
  from allennlp.common.checks import ConfigurationError
  from allennlp.common.params import infer_and_cast, Params, remove_keys_from_params, with_overrides
  from allennlp.common.testing import AllenNlpTestCase
label_desc: Use image node_id 1 for calling the TestParams obj's underlying member method code with example usage: obj.test_load_from_file() without return types