code: def test_excited_configurations(
      electrons, orbitals, excitation, states_ref, signs_ref
  ):
      r"""Test if the _excited_configurations function returns correct states and signs."""
      states, signs = qchem.convert._excited_configurations(
          electrons, orbitals, excitation
      )
      assert np.allclose(states, states_ref)
      assert np.allclose(signs, signs_ref)
  
imports: import os
  import sys
  import pytest
  import pennylane
  from pennylane import numpy
  from pennylane import qchem
  from pennylane.operation import disable_new_opmath, enable_new_opmath
label_desc: Use image node_id 21 for calling a global function with example usage: test_excited_configurations(electrons, orbitals, excitation, states_ref, signs_ref) without return types