taskdistribution: rename getNextTest into getRunningTest