Fix PolicyRegistrationTest.testRemoveAllPolicies