test for getExportedPrivateKey()
fixed getExportedPrivateKey() returning uncompressed private key when it was created as compressed key