fixes #importWallet
add tests to cryptoUtil