Revise test based on phase 2 changes

This is revision of the tests based on the breaking changes from Phase 2.

  • the main change is adding a new variable to the path for accessing the policies in the Policy service
  • some minor changes on the error messages
  • adding new field on the policy db