implemented more correct solution to handling YAML frontmatter (should fix #48)
tweaked test document for handling frontmatter