Add regression test for Markdown's bug