Using new testthat recommended practice.