fix some tests, fix audits, fix warnings