Change chgrp.test to use our getgroups rather than the system's.