write tests for LineItem