example issue found in 'check'
adding testthat for builds
working tests w/ testthat on 'check'