SilverStripe\Comments\Tests\CommentTestHelper::assertFieldsForTab

This only works if the last section is not a field group, e.g. a Comments field group inside of a Root.Settings tab will not work