GH #298 - Tests for permissions.