Change to readonly for tests as readwrite is not allowed in visualizations now
Move acl entity validation to its own method
Stub the proper method and compare against the array size