Fix type in dates conversions tests