test DateTime::createFromFormat