Tests for the upgrade step.