test the datepicker