implementation and test for quizEngine
quiz route and test changes after engine uses callback pattern