added tests to event_spec