code improvements from ali
simulate-failed-check now uses Event object
fixes #273, #272 as well
remove superfluous lines
Merge pull request #277 from jessereynolds/273_email_sms_time_issue

fix email and sms notifications