correct bug in #decipher
added basic set of tests
Merge pull request #1 from lanetix/master

fix output_encoding of #decipher
added basic set of tests