ECMS-4498 Fix problem with test failuere at the first week of the year