Fixed jasmine test

Jira-issue: WP-634