['I had an important test to take last week for my certification. I spent so much time studying that I was absolutely sure I was going to ace it.']
Oh no, did it not turn out the way you planned?
I had to take a very important test last week. I spent so much time studying for it that I knew for sure I was going to ace it!