Testing Strategy for Event-Driven APIs