Test document TOC