I started studying for the test very late. ends before I went to class to take the test.
I had been up very late studying for a test. "I went to class to take the test, feeling tired." My eyes were about to close as the teacher handed me the test. I decided to put my head on my desk and rest for a bit. I fell asleep without doing a single question on the test.