folding code test