mailer adapter tests