added trigger applyment
route parameters provided as array argument
changed trigger call
Add a test for the "route" event.