Testing the single-peakedness of other-regarding preferences