starting using testthat for testing