Pericenter precession induced by a circumstellar disk on the orbit of massive bodies: Comparison between analytical predictions and numerical results