add missing tests for groups.