Adding unit test coverage for UserHasentityFieldAccess.