added dependenceies and testing requirements
moving test to comply with new  CRAN requirements per https://github.com/hadley/testthat