Tests for Worker.workerCreated and Worker.workerTerminated events.