tests added for add_offer_controller.php