Added test functionality for OfferValidator