fixing jasmine tests
Jira-issue: WP-1265