dateutils: add test