added new test for CryptoProvider