ode: refactored test
ode: added tests for error conditions