add test for time series