Fix t/api/uri.t, t/apr/uri.t and t/apr-ext/uri.t under perl-5.22.0 I'm working on CPAN RT#101962: Support for perl-5.22.0. The new "Redundant argument in sprintf" warning has revealed a couple of problems in our test suite which causes these tests to fail.