Fixed MailerSpec after moving Mailer inner classes from trait to object.