added removing line_items & updated test