install testthat from hadley. closes #9