Add tests for the user edit page