Tests around deoptimization.