test custom date picker.