Added test for bug #5041 - %y in single digit year

I was unable to replicate this bug ; it appears that it was already fixed.
However, I added a test for it.