Doc and testing

Small edits to testing and documentation lectures. Largest change was converting knitr.Rmd to knitr.md.