Beginning to integrate unit tests via testthat and vignettes