Refactor exam page tests to get the initial browser test working.