Issue #2866894 by maxocub: Component tests should not use Drupal\Tests\UnitTestCase but PHPUnit\Framework\TestCase (cherry picked from commit 13e93c04)