Add test for behavior table_of_contents