Tested triggerEvent.