Added more tests for "core.managers.ObjectPermissionManager".
Added tests for "core.managers.PermissionManager".