Add tests for new encryption API functions on the manager

100% coverage on selectCryptoKey, Encrypt, Decrypt.
Fixed as well