Test class for Year methods