Add invalid_cart method to carts controller
Update line items controller and test