Fixed jasmine test.

Jira-issue: WP-634
Fixed function description

Jira-issue: WP-634