def METHOD_NAME():
    op = ChargeSpinQuery()
    assert op.query(charge=1, spin_multiplicity=2) == {
        "criteria": {"charge": 1, "spin_multiplicity": 2}
    }
    with ScratchDir("."):
        dumpfn(op, "temp.json")
        new_op = loadfn("temp.json")
        assert new_op.query(charge=1, spin_multiplicity=2) == {
            "criteria": {"charge": 1, "spin_multiplicity": 2}
        }