Test Fixes - CPRolesPGDocumentsandmedia - functions