Fix creation of a randomn testnet private key
Fix typo and remove unnecessary test
Merge pull request #867 from yemel/fix/testnet-private

Fix creation of a randomn testnet private key