Add a table of contents test to overall markdown
What does this MR do and why?
Add a table of contents test when testing markdown at the feature level.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.