Fixed TOC name when used with bable/polyglossia. Added tests.