Not sure if this points to bigger issues, but recording to investigate root@8a93f9b965df:koha(master)$ prove -v t/db_dependent/SIP/Transaction.t t/db_dependent/SIP/Transaction.t .. 1..4 ok 1 - New transaction created ok 2 - Patron assigned to transaction ok 3 - RenewAll on zero items # Subtest: fill_holds_at_checkout 1..5 ok 1 - Bib has 2 holds ok 2 - New transaction created ok 3 - Patron assigned to transaction ok 4 - Item assigned to transaction # Looks like you planned 5 tests but ran 4. not ok 4 - fill_holds_at_checkout # Failed test 'fill_holds_at_checkout' # at t/db_dependent/SIP/Transaction.t line 93. Can't call method "leader" on an undefined value at /kohadevbox/koha/Koha/SearchEngine/Elasticsearch.pm line 419. # Looks like your test exited with 11 just after 4.