Added unit tests and fixes for the condor_events table in jex-events.