adapt new helper func api
update testsuite
add crypto