Added test for file which benefits from the split segments refactor