implement test sendEnrollmentEmail method