fix PRIVATEKEY_VERSION_TESTNET + fix tests (not all)