test for permissions passed