added month and year exceptions with intergration tests