Lack of fit tests based on sums of ordered residuals for linear models