A new test for the thermodynamic consistency of vapor-liquid equilibrium