Add tests for DateTimeFormatter.