Wait for scheduler to receive job messages before creating the agent
Merge pull request #48 from michaelmarconi/fix-scheduler-tests

Wait for scheduler to receive job messages before creating the agent