fix tests with https/ssh urls

Test https and ssh url parsing once, and don't worry about it when
testing other stuff.