Test that registration view registers a new user