Competitive House races and a Senate showdown will put US Democrats’ progressive-moderate divide to the test.