Fix tests to use http urls as well