updated quiz controller and added test cases for quiz controller
Merge pull request #17 from Shiti/master

added test cases for quiz controller