Some unit tests for exam page redirect of students if teacher enables exam mode.