Modified test consumer to deserialize xml