added group recursion in groupfinder() and related tests