Added functionality and tests for handling incoming Value messages.