Add unit tests for the new CallOfferView and fix some issues