Fix set privilege tests for OSP and EFL