Made sure the unit tests are cleaning up after themselves correctly in jex-events.