Testing time series