Sentence1: Sam woke up early for school. Sentence2: He had a test early in the morning. Sentence3: He studied all night for the test. Sentence4: He just barely missed the school bus as it passed his house.
Sam missed his test because he got to school late.