Port pkcs7 nodeunit tests to mocha.

- Updated generated minified test code.