Adjusting sliding time window test