Using event for faster deduplication test