Adding testing code for date range.