Added test for editing the offer