Added test for dates.