Added testNewPolicy method

Jira-issue: WP-1140
Fixed testNewPolicy parameter

Now the first parameter format is consistent with that
of other api policy methods

Jira-issue: WP-1140
Merge pull request #4 from ccameroni/WP-1140-test-modified-policies

WP-1140 test modified policies