testing the exception mailer