more general testing for solve_ode