changed constructor in yearmonth in TestLogic