Fix regex in run.sh test script

Jira issue: WP-967