(Perl) Test a list of subroutines provided by a module