The Senate will take a key vote next week on a sweeping rewrite of voting and election law, setting up a dramatic test of Democratic unity on a top priority that Republicans are vowing to block.