add testing section
fix ~ related formatting issue

still don't know how to make a path starting with ~ appear in
code block, since ~~/path~ doesn't get parsed correctly and
~\~/path~ parses but then includes the '\' in the output.
add in class section