More tests for LogService.
Fixes and improvements to Worker.

- fix duplicate ignore_job name;
- fix missing job.info in handling the lock acquired;
- added docstring;
- removed unused import.
Tests for Worker.