The equivalence of two tests of time series model adequacy