some naive string type fixes in werkzeug/test
some naive changes to uri/iri handling