ddate: add test