Tests for main package.

Used mock execution from the command line to encrypt and decrypt a file.