There's a bunch of duplication here between the tests for `get_object_http_url` and `get_object_https_url`; the only difference is the scheme that's tested for. Think I should extract this as a method... ? I was going to, but I hesitated because it would make the nesting in shindo really non-obvious.