test GearedCipher type mapping