another link on testing
Better tests for worker

Still only tests happy path. PRs welcome.