Added tests for date selection, selecting dates outside the range first date - lastdate, and for the delegate