Functional test for editing a user