In progress doctest for get_ungrouped_gids