R/covr.R
as_coverage_with_tests.RdFor tests produced with options(covr.record_tests), prune any unused
records in the $tests$tally matrices of each trace and get rid of the
wrapping $tests environment (reassigning with value of $tests$tally)
as_coverage_with_tests(counters)