Cross validation sparse batching with test working