Added forkmode = perBatch to speed up unit tests