Fixed datetime test