Added tests where a moving window is used for creating training and test data