refactor exact ode detection
Merge pull request #1 from smichr/exact

refactor exact ode detection; update tests