Tests for PermissionRequiredMixin.