DatePicker test fix