MDL-30669 - blocks: Unit tests for course_page_type_list()