add handleTriggerTest and related