Fixed unit tests after changed EntityAccessControlHandlerInterface in core.