add test for date support.