test/hash: fix multiwriter with non consecutive cores