Test of date type