added tests for DateFormatter