Refs #23947 -- Fixed introspection test that had a side effect.