added test for calc_time_grid with interval > day