Fix RestDistributedWorkTest