adds dateRange method - 100% coverage