Fix tests by chaning http to https