This test runs fine. It only checks one of the permissions retrieved, but that's probably good enough.