This type of indexing is always going to break as we add more test courses. I wonder if we should just add a helpful method such as find_test_course_by_name(courses, 'toy'). And then we can simply assert that it is not None.

This is a nice-to-have....