REST: Fix script-expressions test to work with Perl
REST: Fix script-expressions test to work with Perl

Closes #9931

aparo/elasticsearch,aparo/elasticsearch,fubuki/elasticsearch,aparo/elasticsearch,aparo/elasticsearch,aparo/elasticsearch,fubuki/elasticsearch,fubuki/elasticsearch,fubuki/elasticsearch,fubuki/elasticsearch,fubuki/elasticsearch,aparo/elasticsearch