fix failing ode doctests and tests