Tumbling window JUnit test.