Introduced a test worker

This is useful for diagnostics via the UI
Job enqueuing works from UI

Added the events and event handling to cope with a newly-enqueued job in the UI