made test independent of month length