1. Login as a teacher, access a course then in the settings, set the hidden sections to be shown as collapsed.
2. Hide a couple of sections on the course page by clicking the week/Topic/Section menu -> hide/show
3. Login as a student, access the course and check that the hidden sections are displayed in collapsed form with no content.
4. Login as the teacher again, access the course settings and set the hidden sections to be completely invisible.
5. Login as the student again, access the course and check that the hidden sections are not displayed at all.