Remove $GLOBALS['user'] from simple tests.
/core/modules/system/lib/Drupal/system/Tests/*
This is because of this in the Change Record
"NOTE: The global $user variable still exists as it is necessary for certain portions of the installer and simpletest..."
Needs a workaround to get it out of there.