fixes tests on event_spec