tests(datepicker): adds tests for on-date-selection

Tests the on-date-selection attribute