adding time window and time window test case