Added automated tests for user.identity