fix MailTemplateUtilsTest bug