[G#26674] Add test for Table of contents