test relative url after redirct