updateCalendars: inline test for singleDatePicker

just inserted inline the test for singleDatePicker for rendering the right calendar.
Merge pull request #430 from mvancamp/master

updateCalendars: inline test for singleDatePicker