LP#1516757: add Perl test case