adding test case for dates