Mailer test fix