Add a test for jgm/pandoc#1636.