[ticket/11842] Use avatar_data for obtaining driver that should be deleted

PHPBB3-11842
[ticket/11842] Add functional test for creating group

PHPBB3-11842