Actually ensure line items are in the right order before doing a groupby when rendering statements to pdf
Use billing test helpers in task tests