[BUGFIX][TESTS] Fix unit test fixPermissionsSetsPermissionsWithRelativeFileReference