added line item methods and tests