Fixed _get_course_id in test_contentstore.py