Fixed unit-tests.sh script

Jira-issue: WP-805