Changed test so that current_cost is a method of Bar which receives an Item object