Add another test for fold.

- Pull out initFold() helper.