Fix creation of a randomn testnet private key

Closes #866 
We may not need to test with and without the new constructor here, since we're doing this already