Add private key legacy encryption tests.
Port pkcs1 test to mocha.