fix test to work with async policy check

Jira-issue: WP-956