WIP Add extra tests

[#82838802]
Handle gids which are not the same as the uid

[#82838802]