adding template tests for mailer