fixed mailer test case