refactor tests
fix shutdown race in between of a blpop in worker.getJob
fixes #336
fixes #328
0.7.8