Add test to reditrectTo(url)