Adds test that generates the table of contents