test for resolving CryptographicException