Added follow-up test cleanup
What does this MR do and why?
Related to: [Feature flag] Cleanup group_protected_branches (#500250 - closed)
A previous MR had a suggestion to clean up the test file, but due to the urgency to merge, I proceeded without the changes. This MR addresses that follow-up by cleaning up the tests as suggested.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.