After cloning the repository I tried to extend the the t/002_basic.t test and added a second call to content after the first one.
ok($pdf->content, "Some PDF content produced");
my $output = $pdf->content;
Running the tests I got the following exception:
t/002_basic.t ..
1/1 Can't use an undefined value as an ARRAY reference
at /home/ubuntu/perl5/lib/perl5/PDF/Builder.pm line 2923.
# Looks like your test exited with 9 just after 1.