Add tests for new encryption API functions on the manager

100% coverage on selectCryptoKey, Encrypt, Decrypt.
f ailed to **decrypt**.