Fixes mailer test