Added test for only year given