test: allow specifying the target URI.