tests for isPast, isFuture, isBetween