modify doctests and tests for ode