Fix the failed specs for upgrade 3.2 to 4.0.