Hypothesis testing in time series regression with a unit root