Added testPolicy method

Jira issue: WP-932
fixed error on policy naming
Merge pull request #2 from Valerio88/WP-932

Added testPolicy method