refactor test page js
refactor test controller
refactor test controller/exam model
add sample question to test page