Folding test of unimodality
