update tests to latest api changes

Jira-issue: WP-1284