add tests for markdown

add tests for markdown