add some tests for Perl #71922