fix decipher and decipher testing