More browser tests for exam mode feature.
Refactor browser tests to cover generic browser button actions for exam mode feature.