Exam UI tests and pages refactored