Fix the build under the new testthat version.

* Migrate to new recommended test file structure. Refs #26
* Fix testing of `.libPaths()` update. `expect_match` has been replaced
with an equivalent `expect_true`