Testing cross-validation using K-fold iterator'