Add tests for Encryptor.py