Added test case for dates