add way to get latest received XML and polish up test so it won't run
forever.