add tests for ODEModel_getOde/ODEModel_getAssignment
constify
validate type strictly