["I really needed to get ready for this test in calculus last semester since otherwise I would've failed."]
Well done, you studied for it and passed!
I had a test in calculus that I really needed to pass. I studied hard to do well and I was so ready for it.