improved addOffer function
More tests added for add_offer_controller
More tests added for add_offer_controller