nailed down total function
Added more tests as well as helper funciton __set_price_for_all_items