t/TaskDispatcher.t: array / arrayref consistency

Also fixes a test which was comparing the length of two lists instead of the values inside the lists. Dang, Perl.

Created by  Graham Christensen  on October 19, 2021
IVOH2GWJYQICKNVXJK2CXZHJYTQLQB2EHGWPAFTLIEPI6VBHT24AC
In channels
upstream
main
Change contents