Add tests for folds on longer arrays