Add basic mailer tests