Parse line items and tests