TimeWindow tests