Replace stub by real objects
Remove mock from WorkerEvent test class
Add tests for stop signals
Test worker skips job loop when NULL is returned