Here are the tests we wrote for HTML-to-Markdown conversion. Could be useful when switched the other way around :-)
https://github.com/bergie/to-markdown/blob/master/test/tests...
Also worth looking at the tests for Text::Markdown which is the canonical version of Markdown on CPAN.
https://metacpan.org/source/BOBTFISH/Text-Markdown-1.000031/...
I agree, but the article mentions tests prominently. They didn't miss that out.