RunScheduler runScheduler = new RunSchedulerImpl(jobQueue);
final int testJobcount = 10;
JobImpl jobImpls[] = new JobImpl[testJobcount];
for(int i = 0; i < testJobcount; i++) {
jobImpls[i] = new DatastageJobImpl("job" + i);
runScheduler.addJob(jobImpls[i]);
}