Tests for when_the_url_is_invoked with XML.