Fixed broken date tests