httpsURL fix for testing