datetime test fix