Added test_datetime_safe