add test for datePicker