Added tests for encryption agents.

Need to rework the way that the Des key is derived.
Need to figure out why the last lines of the decrypted file are missing