CertGetPublicKeyLength() test failures on Win7