test trigger-event lib