Update tests for CodeLesson visibility