Add missing permissions tests