add testthat dependency