Fix pandoc tests