Fix mailer test