Teach testCoverage() to work with testthat by default

This makes it a little more convenient to test a package developed using [devtools](https://github.com/hadley/devtools/) and [testthat](https://github.com/hadley/testthat/).