Nice to see it's working now.
By the way, if you plan to use the DS3231 beyond this test sketch, I recently published a small DS3231 Service Tool that handles RTC setup and calibration separately from the application sketch. You might find it useful: