use warnings;
use strict;
-use Test::More tests => 4;
+use Test::More tests => 6;
use_ok 'Aleph';
-ok( my $o = Aleph->new, 'new' );
+ok( my $o = Aleph->new('ZAG01'), 'new' );
ok( my $hits = $o->search( 'WTI=linux' ), 'search' );
diag "$hits results";
-ok( my $marc = $o->next_marc, 'next_marc' );
+foreach ( 1 .. 3 ) {
+
+ok( my $marc = $o->next_marc, "next_marc $_" );
diag $marc;
+
+}