Wrote tests for cipher.py in test_cipher.py