Revert "Remove test_md"

This reverts commit 7e0e8f0661911a076d1b04ff45a8d6e5ba3c005b.