fix testsuite + packaging