Fix dataPicker unit tests