adding tests for QuizSessionService and reoranizing geneal test code