Add doctests to integral_steps