testcase for handling integer month format