Tests of PolicyManager