check that line items are added correctly

because they weren't being as of last commit
Merge pull request #380 from theodi/fix-line-items-in-invoicer

check that line items are added correctly