Added more example queries; Added parens around list of triggers.
Added tests for all the triggers
Shuffled code around so this goodie performs a bit better.