Fixed PermissionManagerTest