I have now both added a log message, and some tests for CourseEmailTemplate.