Refactored tests for PermissionRequiredMixin usage