move tests to tests/testthat according to new recomendation