How does Deuteronomy portray leadership transition as a spiritual test for the nation?