updated test setup

* updated DESCRIPTION to suggest testthat and
  and bumped version for CRAN compatibility
* wrote testthat.R script for unit testing