In the test examples the sliding window is done externally in the test code. This should be incorporated inside the transform class.