Added test count based batching strategy

Makes a more equal tests division between the machines