Fix the footnote doubling, and then enable the rest of the SDT tests from Tim Allison from bug #54849