test(datepicker): fix broken tests