unit test fixes for year as string in dict