Explicitly test if 'testthat' is a directory.