fix bug 769516 - Add ?toc document option
Fixing borked test
Merge pull request #811 from darkwing/kumascript-769516

fix bug 769516 - Add $toc document option