add test for dates