Added test case for encryption
Use y# instead of s# to avoid accidental swollow of unicode strings