Added TestEncryptorCore