copy tests from func-tests
add Crypto tests