Sets worker JID before performing job during tests
Merge pull request #1041 from rmello/master

JID not beign set on workers during tests