the test of input type=date