added test for decryptPrivateKey()