add test for empty folds