Correcting a bug in Rankine-Hugoniot tests