There was a recent article in Cooks Illustrated that recommended salting the soaking water, but not salting the cooking water, to help keep the beans whole and of good texture. Another article recommended soaking no more than 8 hrs. The beans can ferment and can turn sour.