Testing time intervals