Validation function on test

This test suite can still pass, not enough tests are being run to catch
the error of a negative PNR.