added title of quiz
refactoring
fixed tests