added unit tests for policy resolution with invalid context & invalid rule
added unit tests for policy resolution with invalid context & invalid rule

Aptomi/aptomi,Aptomi/aptomi,Aptomi/aptomi,Aptomi/aptomi