gatekeeper: Add permission tests