Move code that covers `worker_task_updates.go` into `worker_task_updates_test.go`. No functional changes.