Tests for foldl(), foldli(), foldr(), foldri().