added simple test for Trigger()