use System::Introspector::Groups;
my $probe = System::Introspector::Groups->new;
-my $data = $probe->gather;
+
+my $result = $probe->gather;
+ok $result, 'received data';
+my $data = $result->{groups};
+ok $data, 'received groups data';
ok scalar(keys %$data), 'received group data';
ok not(grep { not defined $_->{gid} } values %$data), 'all have gid';