['I recently had a test that I spent a lot of time studying for.', 'Good job studying. how did you do?', 'Since I was really prepared and understood all of the material, I did really well.']
Congratulations! Tests are always hard, it feels great when you do well.
I had studied really hard for an upcoming test. I was fully prepared, and understood all of the material.