Added unit and manual/automatic tests for user.identity