Pick closest date in singleDateRangePicker mode
Add karma runner test suite