test(datepicker): minor cleanup

Closes #1570