Added a test case for downsizing sliding window