Use class for test worker, and performs PID check in unit tests, #412
Fixed bug caused by broken merge, my bad
Renamed to SimpleWorker
Merge pull request #417 from foxx/feature/testworker

Added test worker for unit tests - fixes #413