added test cases for quiz controller