time series reader with test.