fix grading_test page

refactor GradingTestStrategy
refactor StudyStrategy