Added test to for redirect to homepage after new user