Added YearState, MonthState and DayState.

Added reference in StateTestsLib to StateClassLib.