Add test cases for year time parsing

actual fix is in DataValues time component, but
added tests that things also work correctly in Wikibase
time parsers.

https://github.com/DataValues/Time/pull/16

Bug: 64537
Change-Id: Ib7c698de517d226dcbc89d4c9dacd09430eb0e19