added tests for year