Add tests/testthat.R