finished k-fold testing wrapper