moved the tests to tests/testthat
finally have the right directory structure