A more predictable shardStateWorker test.