Fix Issues with FY5253 and nearest w/ year end in Dec

There are currently some issues with FY5253 working with variation=nearest and startingMonth=12.

This PR fixes those issues and add some more tests.