test code for parallel jobs from broker