Fix datepicker test