Test automation identity

The test involves creating a user, and then changing it. Also did various refactoring, added config etc
same as above