Add some permission test and remove one that cannot be run reliably