Minor fix to permissions test