Added extra test for PermissionService.