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!
B. The lottery may not have been a happy occasion because the men smiled rather than laughed, and the children were apparently very hesitant to join their families when it started.