Add tests for CipherAlgorithm