Adds 'practice' flag to Test object.
Restricts signal issuing to practice tests.
Moves all set_exam_mode logic inside utils function.