A modification of the CUSUM test in the linear regression model with lagged dependent variables