Create a test in Tests and quizzes. Publish it.
In Lessons, Add Content and then link to the test.
In Lessons, click on the edit button for the test, then on 'Edit Quiz Settings' in the popup. You'll see a stack trace in the browser, and in the logs.