Add logging for debugging and add sample test time series