(check_perturbation): First plot, then assert, to allow inspection of bad perturbations