FYI - the `course_key.course.lower()` is essentially a no-op in the test cases you have listed.