updated to testthat 0.8