Simplify time range test