fixing bug when forwarding payload to a spy after message processor for the xml tests