add folding cipher specs for Ruby and Javascript