Added unit tests to the Cipher project