update example objects for caret 6.0+ and add tests
reorganize for testthat compatibility
Merge pull request #5 from jknowles/master

Updates for caret 6.0 and reorganization for testthat