moving over to quickcheck based testing supplemented by testthat testing.