drop a hack for old libsbml
drop an unused definition
fix test for libsbml 4.x/5.x