Instead of separately testing `uri` and `args`, I suggest to test on `unparsed_uri`.