regression test is running, but these is a epoch mismatch fatal

@hongchao, can you check the why there is epoch mismatch error? the regression test seems to be working with each iteration comes back right value.
Ok, 
Something is wrong with test, I will fix that. But the point is, the old way of specifying the number of tasks go through a -1 and +1 operation,  that is extra weight that we should not expose to user.