Fixed failing test in courses.test_models.py