move tests to inst/tests

as for devtools testing