Test the homepage redirect