markdown refactoring #507
prep markdown test suite