Add tests for new encryption API functions on the manager

100% coverage on selectCryptoKey, Encrypt, Decrypt.
This won't catch the case where no error is returned such as when the test is actually failing.