Conformal perturbation theory confronts lattice results in the vicinity of a critical point