my $probe = System::Introspector::Hosts->new(
hosts_file => "$FindBin::Bin/data/hosts",
);
-my $data = $probe->gather;
+
+my $result = $probe->gather;
+ok $result, 'received data';
+my $data = $result->{hosts};
+ok $data, 'received hosts data';
is_deeply $data,
[['1.2.3.4', qw( foo bar )], ['2.3.4.5', 'bar']],