kvstore test: factor out runParallel(); make queues in parallel in test