Added test using map of jobs