Issue #3204163 by jonathanshaw: EntityQuery accessCheck: tests should not check access unless relevant