lib/markdown2: add tests for markdown nodes location