Wrote some test for dateRange.js and schedule.js