test for year added

added simple test for year