fix bug in rate calculation test

Thanks Boris!
add flag to recalculate (and overwrite) thermodynamic data