https connection are encrypted.
So, unless you have the onboard ssl module or an equivalent to decrypt the traffic, the CSS has no way to see the request https://test1 and therefore no way to rewrite it - that's the purpose of encryption [avoid people to look or modify the traffic].
Regards,
Gilles.