Handle new year in test