fixed test_notification (added the sendmail_mock event argument)