Yesterday I ... an exam at Suankularb Wittayalai School when the power ... .
was taking / is going off
took / went off
was taking / went off
took / is going off