Added tests, and Cipher and Text classes