Unit root tests under time-varying variances