emitting events for spec and run completion