Cleaning up code. Added test for no offers response from web service