Test automation identity

The test involves creating a user, and then changing it. Also did various refactoring, added config etc
I want to hear a rational, pragmatic reason for that. I dont like to do stuff "just because..."