Looks like the problem is that because the totalDuration is added here but not in the expected jsons, the tests are breaking.