Use testthat package?