the test of input type=month