add test for notify trigger.