Move tests to inst/tests to fix travis build