feat: #3390193 Add a drupalGet() method to KernelTestBase
Closes #3390193
Cherry picked commits from following main branch issues:
https://www.drupal.org/node/3390193
https://www.drupal.org/node/3582769
Edited by Mohit Aghera
Closes #3390193
Cherry picked commits from following main branch issues:
https://www.drupal.org/node/3390193
https://www.drupal.org/node/3582769