add basic tests -- run with test() from hadleys testthat