Testing for time series linearity | Synapse