update to work with pandoc 1.12.1; add actual pandoc-based test cases'