workaround for testthat pkg bug