On estimating and testing in a linear regression model with autocorrelated errors