Why:
* The maintenance scripts in core are mostly untested and testing
the less complex scripts will improve the test coverage in core.
What:
* Add integration tests to verify deleteBatch.php when adding
groups to an existing user.
Bug: T371167
Change-Id: I847b0dab093abbfe7dede33d1f30b729bf5e9fbf