MDL-41155 Lesson: Fixed multiple question attempts logic
MDL-41155 Lesson: Added behat tests for multiple question attempts