Add a functional test for URL redirection checking