Policy system tests (ready for review)

 System tests for execute policies and webhooks.