test that URI has a protocol and host component