tests for folding combinations