Add tests for year boundaries and explicitly test for leap year support.