Read the following sentence carefully:
The teacher, knowing that the students had been preparing for weeks, decided to surprise them with a challenging quiz that tested their knowledge.
Which of the following options corrects any sentence structure issues in the original sentence?