wikimarkup parsing, including unit tests