fixed datetime test