code: def test_group_in_param_file_read(setup_param_file_with_groups):
      """
      Tests that groups in a parameter file are read correctly
      """
      parameter_file = setup_param_file_with_groups
      problem = read_param_file(parameter_file)
      groups, group_names = compute_groups_matrix(problem.get("groups"))
  
      assert_equal(problem["names"], ["Test 1", "Test 2", "Test 3"])
      assert_equal(
          groups, np.array([[1, 0], [1, 0], [0, 1]], dtype=int)
      )
      assert_equal(group_names, ["Group 1", "Group 2"])
  
imports: from numpy.testing import assert_equal, assert_allclose
  from pytest import raises, fixture, warns, mark
  import numpy
  import warnings
  from SALib.sample.morris.morris import sample, _check_group_membership, _check_if_num_levels_is_even, _compute_optimised_trajectories, _generate_p_star, _compute_b_star, _generate_trajectory, _generate_x_star
  from SALib.util import read_param_file, compute_groups_matrix, _define_problem_with_groups, _compute_delta
label_desc: Use image node_id 5 for calling a global function with example usage: test_group_in_param_file_read(setup_param_file_with_groups) without return types