I would say arriving to class right before the test is the answer. You should arrive to class before it starts so you can ask questions, get yourself prepared, and calm down before your test. Arriving just as it starts means your rushing, and can therefore not prepare yourself for the big test. I hope this helps!