Fix failing parallel algorithm tests